<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:a="livcos.org/ns/admin"
	xmlns="http://www.w3.org/1999/xhtml"
	exclude-result-prefixes="a">
	
  <xsl:import href="../base.xsl" />
  <xsl:import href="location.xsl" />
  
  <xsl:template match="a:company">
    <div id="{@id}" class="company">
      <p><xsl:value-of select="a:title" /></p>
      <xsl:apply-templates select="a:address[@type = 'main']" />
      <p><xsl:apply-templates select="a:phone[@type = 'main']" /></p>
      <p><xsl:apply-templates select="a:email[@type = 'info']" /></p>
    </div>
  </xsl:template>

</xsl:stylesheet>
